package com.cskaoyan.catmall.dao;

import com.cskaoyan.catmall.model.bo.BaseParamBo;
import com.cskaoyan.catmall.model.bo.PromotionAdBo;
import com.cskaoyan.catmall.model.bo.PromotionCouponBo;
import com.cskaoyan.catmall.model.bo.PromotionTopicBo;
import com.cskaoyan.catmall.model.pojo.MarketAd;
import com.cskaoyan.catmall.model.vo.*;

import java.util.List;

/**
 * 创建日期: 2022-01-07-11-55
 * author : LL
 * description:
 */
public interface PromotionMapper {


    List<ItemOfAdListVo> getPromotionAds(PromotionAdBo promotionAd);

    List<ItemOfCouponListVo> getPromotionCoupons(PromotionCouponBo promotionCouponBo);

    List<ItemOfPromotionCategoryVo> getPromotionCategory(BaseParamBo baseParam);

    List<ChildrenOfCategoryVo> getChildrenOfCategory(Integer id);

    List<PromotionGoodsListVo> getPromotionGoods(BaseParamBo baseParam);

    List<ItemOfPromotionTopicVo> getPromotionTopics(PromotionTopicBo promotionTopicBo);


    void deleteAd(MarketAd marketAd);
}